#{extends 'home.html'/}
<h1 class="viewTitle">Reject Merge Request</h1> 

<div class="viewContent">

<form id="send"action="@{ProfileController.rejectRequest()}">
	You can send an email to inform the request sender(${mRequest.sender.userName}) why you deleted the request(optional)<br>
	
	
	<div class="formEntry"> 

	<div class="formLabel">
	
	<label  for="m">Mail Body:</label>
	
	</div>
	
	<textarea id = "m"name="mail" rows="10" cols="80"></textarea>
	<div class="clear"></div>
	
	</div>
	<input type="hidden" value="${mRequest.id}" name="requestId"/>
	<input type="submit" name="send" id="send" value="Send Mail and Reject Request!"/>
	<input type="submit" name="delete" id="delete" value="Just Reject the Request!"/>
	</form>
</div>